package com.zuikaku.nettychat.netty.framework;

import com.zuikaku.nettychat.pojo.User;
import io.netty.channel.socket.SocketChannel;

public class NettyClient {

    private SocketChannel socketChannel;

    public SocketChannel getSocketChannel() {
        return socketChannel;
    }

    public void setSocketChannel(SocketChannel socketChannel) {
        this.socketChannel = socketChannel;
    }


    public boolean isLogined() {
        return logined;
    }

    public void setLogined(boolean logined) {
        this.logined = logined;
    }

    public User getActiveUser() {
        return activeUser;
    }

    public void setActiveUser(User activeUser) {
        this.activeUser = activeUser;
    }

    private boolean logined;

    // 持有一个当前客户端用户对象
    private User activeUser;
    //todo 持有当前客户端用户的聊天列表

    //todo 持有当前客户端用户的好友请款
}
